-- buff
-- create by wangy
-- 自身加状态

return {
    apply = function(source, target, skillId, round, para, value)
        -- 赋予增益状态
        PropM.recordDebuff(source, para);

        -- 0伤害
        return { ["damage"] = 0, ["cure"] = 0, };
    end,

    parse = function(desc)
        local arr = string.explode(desc, ",");
        return { tonumber(arr[1]), arr[2], tonumber(arr[3]), tonumber(arr[4]), };
    end,
    
    getDetail = function(para)
        -- 直接取prop描述
        return PropM.getPropDesc(para);
    end,
};
